package md.mru.core.dtos;

import java.io.Serializable;

/**
 * @author sergiu.marin
 * @since 21/07/2014.
 */
public class OrderPatternDto implements BaseDto, Serializable {

    private static final long serialVersionUID = 4433732889522936154L;

    private long id;
    private String name;
    private String pattern;
    private OrderTypeDto orderType;

    public OrderPatternDto() {
        super();
    }

    public OrderPatternDto(String pattern, OrderTypeDto orderType) {
        this.pattern = pattern;
        this.orderType = orderType;
    }

    @Override
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPattern() {
        return pattern;
    }

    public void setPattern(String pattern) {
        this.pattern = pattern;
    }

    public OrderTypeDto getOrderType() {
        return orderType;
    }

    public void setOrderType(OrderTypeDto orderType) {
        this.orderType = orderType;
    }
}
